#!/bin/sh
#

case "$1" in
    start)
        echo 265 > /sys/class/gpio/export
        echo high > /sys/class/gpio/gpio265/direction
        echo 264 > /sys/class/gpio/export
        echo low > /sys/class/gpio/gpio264/direction
        echo 100 > /sys/class/gpio/export
        echo high > /sys/class/gpio/gpio100/direction
        ;;
    stop)
        ;;
    restart)
        "$0" stop
        "$0" start
        ;;
    *)
        echo "Usage: $0 {start|stop}"
        exit 1
        ;;
esac
exit $?
